package com.shaoyu.elasticsearch.service;

import com.shaoyu.elasticsearch.pojo.SearchParam;
import com.shaoyu.elasticsearch.service.fulltext.TermSearchService;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.index.query.QueryBuilder;

import java.util.Map;

public class ElasticsearchTermSearchServiceImpl implements TermSearchService {
    @Override
    public SearchResponse searchTermLevel(SearchParam param) {
        return null;
    }


    /**
     * 构造QueryBuilder或PostFilter
     * @param param
     * @return
     */
    private QueryBuilder getTermLevelQuery(Map<String, Object> param) {

        return null;
    }
}
